package com.liuqi.knet.remoting.transport;

import com.liuqi.knet.remoting.Codec;
import com.liuqi.knet.serialize.Serialization;

/**
 * @author liuqi
 * @date 2024/12/17 18:37
 **/
public abstract class AbstractCodec implements Codec {

    private final Serialization serialization;

    protected AbstractCodec(Serialization serialization) {
        this.serialization = serialization;
    }

    public Serialization getSerialization() {
        return serialization;
    }

}
